package com.wcar.product.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wcar.common.entity.ProductType;
import com.wcar.common.vo.Result;
import com.wcar.product.vo.ProductTypeVo;

import java.util.List;

public interface ProductTypeService {
    Result<List<ProductType>> selectAllProductType();
    Result<Page<ProductType>> selectProductType(ProductTypeVo productTypeVo);

    Result<ProductType> updateProductType(ProductType productType);

    Result<ProductType> deleteProductTypeById(Integer commentId);

    Result<ProductType> insertProductType(ProductType productType);

    Result<Boolean> updateIseditByChangeId(ProductType commentId);
}
